import WAppContainer from './package/app-container'
import WBarcode from './package/barcode'
import WCollapse from './package/collapse'
import WDailog from './package/dialog'
import WIcon from './package/icon'
import WImage from './package/image'
import WImagePreview from './package/image-preview'
import WLink from './package/link'
import WPagination from './package/pagination'
import WScrollBar from './package/scroll-bar'
import WTable from './package/table'
import WTransfer from './package/transfer'
import WUpload from './package/upload'
import WSelect from './package/select'
import WSelectMulity from './package/select-mulity'
import WTag from './package/tag'
import WInput from './package/input'
import WInputNumber from './package/input-number'
import WConfirm from './package/confirm'
import WMessage from './package/message'
import WValidate from './package/validate'
import htmlToPdf from './package/htmlToPdf'

export default {
	install (Vue) {
		Vue.component('w-app-container', WAppContainer)
		Vue.component('w-barcode', WBarcode)
		Vue.component('w-collapse', WCollapse)
		Vue.component('w-dailog', WDailog)
		Vue.component('w-icon', WIcon)
		Vue.component('w-image', WImage)
		Vue.component('w-image-preview', WImagePreview)
		Vue.component('w-link', WLink)
		Vue.component('w-pagination', WPagination)
		Vue.component('w-scroll-bar', WScrollBar)
		Vue.component('w-table', WTable)
		Vue.component('w-transfer', WTransfer)
		Vue.component('w-upload', WUpload)
		Vue.component('w-select', WSelect)
		Vue.component('w-select-mulity', WSelectMulity)
		Vue.component('w-tag', WTag)
		Vue.component('w-input', WInput)
		Vue.component('w-input-number', WInputNumber)
		Vue.component('w-validate', WValidate)
		// plugin
		Vue.use(WConfirm)
		Vue.use(WMessage)
		Vue.use(htmlToPdf)
	}
}
